package com.blockmeta.bbs.businesslibrary.pojo;

import android.text.TextUtils;

import com.blockmeta.bbs.businesslibrary.widget.DebateBar;
import com.chad.library.adapter.base.entity.MultiItemEntity;
import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by author on 2018/9/18.
 */

public class BBSListZanPOJO {

    /**
     * total : 1880
     * rules : 趣会为区块链创业项目与公司提供的官方性质的讨论区，作为区块链项目的用户意见反馈、企业文化交流、产品讨论的专区。欢迎各大平台入驻，趣会运营组将义务为您维护论坛的日常管理，疏通用户意见反馈渠道，整合论坛、资讯、官微、公众号、APP等趣会推广资源来开展互动活动。
     * list : [{"fid":82,"tid":224198,"title":"发个帖子等回复","authorid":"365688","author":"马路边一分钱","lastpost":"1537253182","lastposter":"8btcadmin","post_date_format":"2018-09-18 13:38","getViews":"12","replies":"10","displayorder":"0","post_date":"1537249094","type":"0","attachment":"0","digest":"0","price":"0","pid":1680398,"like":0,"attitude":"0","content":"来聊天呀我是说真的","author_info":{"id":"365688","name":"马路边一分钱","desc":"","avatar":"https://bbtcdn.8btc.com/uc_server/data/avatar/000/36/56/88_avatar_middle.jpg","date":"6月","group_title":"船员"},"category":{"name":"链吧主版","link":"/forum-82-1.html","threads":"1880","posts":"14685","id":"82"}},{"fid":82,"tid":224197,"title":"发个论坛帖子看看有人没","authorid":"368929","author":"马路边六分钱","lastpost":"1537249691","lastposter":"马路边三分钱","post_date_format":"2018-09-18 11:33","getViews":"0","replies":"2","displayorder":"0","post_date":"1537241602","type":"0","attachment":"0","digest":"0","price":"0","pid":1680396,"like":0,"attitude":"0","content":"(≧０≦)今天是个好日子，提测了","author_info":{"id":"368929","name":"马路边六分钱","desc":"","avatar":"https://bbtcdn.8btc.com/uc_server/data/avatar/000/36/89/29_avatar_middle.jpg","date":"6月","group_title":"水手"},"category":{"name":"链吧主版","link":"/forum-82-1.html","threads":"1880","posts":"14685","id":"82"}},{"fid":82,"tid":224196,"title":"感觉这波是个大底","authorid":"361754","author":"guodage001","lastpost":"1537183414","lastposter":"guodage001","post_date_format":"2018-09-17 15:47","getViews":"0","replies":"9","displayorder":"0","post_date":"1537170435","type":"0","attachment":"0","digest":"0","price":"0","pid":1680384,"like":1,"attitude":"0","content":"子弹准备好了＾０＾~","author_info":{"id":"361754","name":"guodage001","desc":"","avatar":"https://bbtcdn.8btc.com/uc_server/data/avatar/000/36/17/54_avatar_middle.jpg","date":"6月","group_title":"水手"},"category":{"name":"链吧主版","link":"/forum-82-1.html","threads":"1880","posts":"14685","id":"82"}},{"fid":82,"tid":223442,"title":"你们砸吧 我要抄底了","authorid":"552000","author":"保存_","lastpost":"1536826509","lastposter":"不吃猫的柠檬","post_date_format":"2018-09-12 11:42","getViews":"435","replies":"29","displayorder":"0","post_date":"1536723738","type":"0","attachment":"0","digest":"0","price":"0","pid":1676335,"like":0,"attitude":"0","content":"最近三个月月中旬下旬开始涨次月初一星期开始砸盘算算日子差不多可以抄底了月底出货再做空美滋滋现在抄底","author_info":{"id":"552000","name":"保存_","desc":"","avatar":"https://bbtcdn.8btc.com/uc_server/data/avatar/000/55/20/00_avatar_middle.jpg","date":"2月","group_title":"船员"},"category":{"name":"链吧主版","link":"/forum-82-1.html","threads":"1880","posts":"14685","id":"82"}},{"fid":82,"tid":224009,"title":"徐明星又开始讲话了","authorid":"561897","author":"币贷18617308897","lastpost":"1536826468","lastposter":"azaz007","post_date_format":"2018-09-13 10:19","getViews":"968","replies":"23","displayorder":"0","post_date":"1536805160","type":"0","attachment":"2","digest":"0","price":"0","pid":1679343,"like":1,"attitude":"0","content":"","author_info":{"id":"561897","name":"币贷18617308897","desc":"","avatar":"https://bbtcdn.8btc.com/uc_server/data/avatar/000/56/18/97_avatar_middle.jpg","date":"1月","group_title":"船员"},"category":{"name":"链吧主版","link":"/forum-82-1.html","threads":"1880","posts":"14685","id":"82"}},{"fid":82,"tid":224177,"title":"这个行情怎么看","authorid":"567831","author":"风雪夜归人丶","lastpost":"1536825619","lastposter":"风雪夜归人丶","post_date_format":"2018-09-13 16:00","getViews":"52","replies":"0","displayorder":"0","post_date":"1536825619","type":"0","attachment":"0","digest":"0","price":"0","pid":1680286,"like":1,"attitude":"0","content":"要是短线的话比特币现在买点什么好","author_info":{"id":"567831","name":"风雪夜归人丶","desc":"","avatar":"https://bbtcdn.8btc.com/uc_server/data/avatar/000/56/78/31_avatar_middle.jpg","date":"1月","group_title":"水手"},"category":{"name":"链吧主版","link":"/forum-82-1.html","threads":"1880","posts":"14685","id":"82"}},{"fid":82,"tid":223770,"title":"不对劲，快跑，ok今晚有200多万个柚子卖单！","authorid":"300148","author":"sdfsdfgv_hot","lastpost":"1536824203","lastposter":"147258369lll","post_date_format":"2018-09-12 21:05","getViews":"862","replies":"13","displayorder":"0","post_date":"1536757518","type":"0","attachment":"2","digest":"0","price":"0","pid":1678112,"like":0,"attitude":"0","content":"刚开始有80万个，没撤单，眼睁睁看着被吃完了，上面还有180万个压着？咋回事？是不是庄知道了什么消息要跑路了？","author_info":{"id":"300148","name":"sdfsdfgv_hot","desc":"","avatar":"https://bbtcdn.8btc.com/uc_server/data/avatar/000/30/01/48_avatar_middle.jpg","date":"7月","group_title":"队长"},"category":{"name":"链吧主版","link":"/forum-82-1.html","threads":"1880","posts":"14685","id":"82"}},{"fid":82,"tid":224156,"title":"区块链应用技术会在2019年成熟","authorid":"565154","author":"顾大白","lastpost":"1536823967","lastposter":"linda_bao","post_date_format":"2018-09-13 15:20","getViews":"53","replies":"1","displayorder":"0","post_date":"1536823209","type":"0","attachment":"0","digest":"0","price":"0","pid":1680154,"like":0,"attitude":"0","content":"技术一直在发展","author_info":{"id":"565154","name":"顾大白","desc":"","avatar":"https://bbtcdn.8btc.com/uc_server/data/avatar/000/56/51/54_avatar_middle.jpg","date":"1月","group_title":"水手"},"category":{"name":"链吧主版","link":"/forum-82-1.html","threads":"1880","posts":"14685","id":"82"}},{"fid":82,"tid":223804,"title":"莱特币跌到15刀抄底，三年后一万元一枚","authorid":"273304","author":"sdfsdfgv_luv","lastpost":"1536823674","lastposter":"涨涨分析猿","post_date_format":"2018-09-12 22:01","getViews":"441","replies":"9","displayorder":"0","post_date":"1536760899","type":"0","attachment":"0","digest":"0","price":"0","pid":1678331,"like":0,"attitude":"0","content":"莱特币一定会跌到15刀，预计最晚在2019年第一或第二季度，15刀抄底莱特币，三年后你将走上人生巅峰","author_info":{"id":"273304","name":"sdfsdfgv_luv","desc":"","avatar":"https://bbtcdn.8btc.com/uc_server/data/avatar/000/27/33/04_avatar_middle.jpg","date":"8月","group_title":"水手"},"category":{"name":"链吧主版","link":"/forum-82-1.html","threads":"1880","posts":"14685","id":"82"}},{"fid":82,"tid":223902,"title":"NEO能否崛起？","authorid":"567685","author":"Auguest","lastpost":"1536822344","lastposter":"面条来五碗","post_date_format":"2018-09-13 00:41","getViews":"231","replies":"1","displayorder":"0","post_date":"1536770463","type":"0","attachment":"0","digest":"0","price":"0","pid":1678860,"like":0,"attitude":"0","content":"NEO介绍NEO是一个非盈利的社区化的区块链项目。它是利用区块链技术和数字身份进行资产数字化，利用智能合约对数字资产进行自动化管理，实现\u201c智能经济\u201d的一种分布式网络.NEO于2014年正式立项，自2015年6月起在GitHub上实时开源。NEO非常重视社区的发展，拥有庞大的全球开发者社区，以CoZ、NEL和NeoResearch为代表，长期以来为NEO的开发提供支持。NEO社区规模庞大，拥有数百万社区成员，长期活跃在Reddit、Discord、GitHub与Twitter等频道。NEO中内置两种原生代币，NEO（缩写符号NEO）和NeoGas（缩写符号GAS）。NEO是管理代币，总量1亿份，用于实现对NEO网络的管理权。管理权包括投票进行记账人选举，NEO网络参数更改等。NEO的最小单位为1，不可再分割。","author_info":{"id":"567685","name":"Auguest","desc":"","avatar":"https://bbtcdn.8btc.com/uc_server/data/avatar/000/56/76/85_avatar_middle.jpg","date":"1月","group_title":"水手"},"category":{"name":"链吧主版","link":"/forum-82-1.html","threads":"1880","posts":"14685","id":"82"}},{"fid":82,"tid":224141,"title":"BTG明天从b网（bittrex）下架","authorid":"461507","author":"Biknowcom","lastpost":"1536822018","lastposter":"Biknowcom","post_date_format":"2018-09-13 15:00","getViews":"74","replies":"0","displayorder":"0","post_date":"1536822018","type":"0","attachment":"2","digest":"0","price":"0","pid":1680071,"like":0,"attitude":"0","content":"风险提示：BTG从b网下架","author_info":{"id":"461507","name":"Biknowcom","desc":"","avatar":"https://bbtcdn.8btc.com/uc_server/data/avatar/000/46/15/07_avatar_middle.jpg","date":"3月","group_title":"水手"},"category":{"name":"链吧主版","link":"/forum-82-1.html","threads":"1880","posts":"14685","id":"82"}},{"fid":82,"tid":222401,"title":"垃圾火币平台","authorid":"369093","author":"ockmeta_pmq_cri","lastpost":"1536821912","lastposter":"撸大师","post_date_format":"2018-09-10 12:25","getViews":"457","replies":"5","displayorder":"0","post_date":"1536553528","type":"0","attachment":"2","digest":"0","price":"0","pid":1671364,"like":0,"attitude":"0","content":"火币ht又要跳水了，大家赶紧清仓","author_info":{"id":"369093","name":"ockmeta_pmq_cri","desc":"","avatar":"https://bbtcdn.8btc.com/uc_server/data/avatar/000/36/90/93_avatar_middle.jpg","date":"6月","group_title":"船员"},"category":{"name":"链吧主版","link":"/forum-82-1.html","threads":"1880","posts":"14685","id":"82"}},{"fid":82,"tid":221307,"title":"我听见一个声音告诉我牛来了","authorid":"464831","author":"农奴要反抗","lastpost":"1536821864","lastposter":"币贷18617308897","post_date_format":"2018-09-06 18:25","getViews":"772","replies":"9","displayorder":"0","post_date":"1536229543","type":"0","attachment":"2","digest":"0","price":"0","pid":1665114,"like":0,"attitude":"0","content":"今天一直有个声音告诉我牛来了，我赶紧打开手机一看btc价格变成了五万美刀，一兴奋手一抖，手机摔了，睁开眼一看，妈的原来是做梦，老实搬砖去了","author_info":{"id":"464831","name":"农奴要反抗","desc":"","avatar":"https://bbtcdn.8btc.com/uc_server/data/avatar/000/46/48/31_avatar_middle.jpg","date":"3月","group_title":"船员"},"category":{"name":"链吧主版","link":"/forum-82-1.html","threads":"1880","posts":"14685","id":"82"}},{"fid":82,"tid":223921,"title":"这是小牛牛？","authorid":"404021","author":"泼猴","lastpost":"1536821504","lastposter":"涨涨分析猿","post_date_format":"2018-09-13 08:21","getViews":"418","replies":"6","displayorder":"0","post_date":"1536798102","type":"0","attachment":"0","digest":"0","price":"0","pid":1679051,"like":0,"attitude":"0","content":"..........","author_info":{"id":"404021","name":"泼猴","desc":"","avatar":"https://bbtcdn.8btc.com/uc_server/data/avatar/000/40/40/21_avatar_middle.jpg","date":"4月","group_title":"副船长"},"category":{"name":"链吧主版","link":"/forum-82-1.html","threads":"1880","posts":"14685","id":"82"}},{"fid":82,"tid":223420,"title":"所有的主流货币，起码还会跌80%","authorid":"507485","author":"时间链小白","lastpost":"1536821433","lastposter":"5d94abef8b","post_date_format":"2018-09-12 11:18","getViews":"406","replies":"5","displayorder":"0","post_date":"1536722283","type":"0","attachment":"0","digest":"0","price":"0","pid":1676251,"like":0,"attitude":"0","content":"空气币归零，主流货币起码还会大跌，下波牛市必定是数字货币有实际的应用，虚实结合，才会出现百倍币，千倍币。立贴为证。","author_info":{"id":"507485","name":"时间链小白","desc":"","avatar":"https://bbtcdn.8btc.com/uc_server/data/avatar/000/50/74/85_avatar_middle.jpg","date":"2月","group_title":"水手"},"category":{"name":"链吧主版","link":"/forum-82-1.html","threads":"1880","posts":"14685","id":"82"}},{"fid":82,"tid":223566,"title":"zb割韭菜真狠","authorid":"208672","author":"牛大炮","lastpost":"1536820702","lastposter":"涨涨分析猿","post_date_format":"2018-09-12 15:28","getViews":"390","replies":"5","displayorder":"0","post_date":"1536737294","type":"0","attachment":"0","digest":"0","price":"0","pid":1676966,"like":0,"attitude":"0","content":"自己的平台币是一点盘都不护。社会社会，这点钱亏完了换币安去了。还是大平台靠谱","author_info":{"id":"208672","name":"牛大炮","desc":"","avatar":"https://bbtcdn.8btc.com/uc_server/data/avatar/000/20/86/72_avatar_middle.jpg","date":"9月","group_title":"船员"},"category":{"name":"链吧主版","link":"/forum-82-1.html","threads":"1880","posts":"14685","id":"82"}},{"fid":82,"tid":220843,"title":"让信用成为货币，而不是让货币被赋予信用。","authorid":"97691","author":"visionfar","lastpost":"1536820101","lastposter":"pythonlol","post_date_format":"2018-09-05 19:32","getViews":"3392","replies":"87","displayorder":"0","post_date":"1536147178","type":"0","attachment":"0","digest":"0","price":"0","pid":1662480,"like":0,"attitude":"0","content":"比特币今天市值占比再上一层楼。人类信用复兴时代开启。从今天，从我做起，用一台价值2000元的IBM二手i5笔记本，从此24小时开启全节点，硬盘损坏就立刻换一个新硬盘，永不停止。从今天开始，从每一个比特币Holder开始，开节点，向全世界展示我们的信心和力量，帮助已经陷入财务困境的比特币矿工一把，让比特币的全节点数量攻击10万大关。","author_info":{"id":"97691","name":"visionfar","desc":"","avatar":"https://bbtcdn.8btc.com/uc_server/data/avatar/000/09/76/91_avatar_middle.jpg","date":"1.2年","group_title":"船长"},"category":{"name":"链吧主版","link":"/forum-82-1.html","threads":"1880","posts":"14685","id":"82"}},{"fid":82,"tid":224103,"title":"对不起，我又来当高学历骗子了，新开帖子记录操作","authorid":"565116","author":"任性短线宝","lastpost":"1536818626","lastposter":"任性短线宝","post_date_format":"2018-09-13 14:03","getViews":"101","replies":"0","displayorder":"0","post_date":"1536818626","type":"0","attachment":"2","digest":"0","price":"0","pid":1679895,"like":0,"attitude":"0","content":"[i=s]本帖最后由任性短线宝于2018-9-1314:13编辑[/i]所有操作来自火币的小号账户，只有一千元而已，大号账户私人资产不便透露，黑客还是蛮强的，每笔操作大概是十分之一的仓位，本人本科硕士均来自清华金融学院，也就是大家说的骗子，免费公平公开，介意的莫进2018年9月12日14：55重新计算一下，大约可以介入现货的价格，btc6000美元，neo16.5美元左右，ont1.5美元左右，eos4.5美元左右，eth170美元左右！我自己买了点neo，ada，eth！然后btc跌到6000美元左右，我自己会选择再介入一部分，没到的话就算了，手里已经介入了一波现货！嗯，就这样吧，祝各位发财，免费交流qq群7361581592018年9月13日2：00收益还行，本来打算btc6000美元再买一波的，到时候再看吧，免费交流qq群号736158159","author_info":{"id":"565116","name":"任性短线宝","desc":"","avatar":"https://bbtcdn.8btc.com/uc_server/data/avatar/000/56/51/16_avatar_middle.jpg","date":"1月","group_title":"水手"},"category":{"name":"链吧主版","link":"/forum-82-1.html","threads":"1880","posts":"14685","id":"82"}},{"fid":82,"tid":221485,"title":"有美工吗？求助！","authorid":"97691","author":"visionfar","lastpost":"1536818620","lastposter":"Cityprincess","post_date_format":"2018-09-07 11:05","getViews":"614","replies":"10","displayorder":"0","post_date":"1536289552","type":"0","attachment":"2","digest":"0","price":"0","pid":1666203,"like":0,"attitude":"0","content":"[i=s]本帖最后由visionfar于2018-9-711:12编辑[/i][b]有没有专业美工？帮V叔叔做一张图，贴在下面。就是佛系旅行青蛙抱着一个比特币。图片有一定的分辨率就可以了，制作的精美些，为了腾硬盘空间，V叔的Photoshop删掉了，做不了。图片记得打上你自己的水印，做了这个图，我包你会出名的。注意要署假名。旅行青蛙团队可能会索取版权使用费。[/b]","author_info":{"id":"97691","name":"visionfar","desc":"","avatar":"https://bbtcdn.8btc.com/uc_server/data/avatar/000/09/76/91_avatar_middle.jpg","date":"1.2年","group_title":"船长"},"category":{"name":"链吧主版","link":"/forum-82-1.html","threads":"1880","posts":"14685","id":"82"}},{"fid":82,"tid":223766,"title":"有没有可以直接法币购买数字货币的平台，不走OTC的那种。业界的大神推荐一下","authorid":"558782","author":"Lewis是我","lastpost":"1536818246","lastposter":"Lewis是我","post_date_format":"2018-09-12 20:46","getViews":"309","replies":"2","displayorder":"0","post_date":"1536756370","type":"0","attachment":"0","digest":"0","price":"0","pid":1678069,"like":0,"attitude":"0","content":"要能提供api接口的","author_info":{"id":"558782","name":"Lewis是我","desc":"","avatar":"https://bbtcdn.8btc.com/uc_server/data/avatar/000/55/87/82_avatar_middle.jpg","date":"","group_title":""},"category":{"name":"链吧主版","link":"/forum-82-1.html","threads":"1880","posts":"14685","id":"82"}}]
     */

    private String total;
    private String rules;
    private List<ListBean> list;

    public String getTotal() {
        return total;
    }

    public void setTotal(String total) {
        this.total = total;
    }

    public String getRules() {
        return rules;
    }

    public void setRules(String rules) {
        this.rules = rules;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean implements MultiItemEntity {
        /**
         * fid : 82
         * tid : 224198
         * title : 发个帖子等回复
         * authorid : 365688
         * author : 马路边一分钱
         * lastpost : 1537253182
         * lastposter : 8btcadmin
         * post_date_format : 2018-09-18 13:38
         * getViews : 12
         * replies : 10
         * displayorder : 0
         * post_date : 1537249094
         * type : 0
         * attachment : 0
         * digest : 0
         * price : 0
         * pid : 1680398
         * like : 0
         * attitude : 0
         * content : 来聊天呀我是说真的
         * author_info : {"id":"365688","name":"马路边一分钱","desc":"","avatar":"https://bbtcdn.8btc.com/uc_server/data/avatar/000/36/56/88_avatar_middle.jpg","date":"6月","group_title":"船员"}
         * category : {"name":"链吧主版","link":"/forum-82-1.html","threads":"1880","posts":"14685","id":"82"}
         */

        public static final int Head = 0;
        public static final int Body = 1;
        public static final int ADVERTISING=2;
        public static final int ARGUE = 3;

        private int fid;
        private int tid;
        private String title;
        private String authorid;
        private String author;
        private String lastpost;
        private String lastposter;
        private String post_date_format;
        private String views;
        private String replies;
        private String displayorder;
        private String post_date;
        private String type;
        private String attachment;
        private String digest;
        private String price;
        private int pid;
        private int like;
        private String attitude;
        private String content;
        private AuthorInfoBean author_info;
        private CategoryBean category;
        private String id;
        private String img_url;
        private String outer_url;
        /** 1 为广告 */
        private int is_ad;
        /** 标签文字 */
        private String tag;
        /** 正方观点 */
        private String affirmpoint;
        /** 反方观点 */
        private String negapoint;
        /**正方支持数 */
        private String affirmdebaters;
        /**反方支持数*/
        private String negadebaters;
        /**是否参与过 1为支持过*/
        private int is_debated;
        /**支持立场 1 正方 0反方*/
        private Integer user_stand;
        /** 辩论结束时间 */
        private String debate_endtime;

        public boolean isDebateEnd(){
            if (TextUtils.isEmpty(debate_endtime)){
                return false;
            }else {
                return System.currentTimeMillis()/1000>Integer.parseInt(debate_endtime);
            }
        }

        public void setDebate_endtime(String debate_endtime) {
            this.debate_endtime = debate_endtime;
        }

        public boolean isDebated() {
            return is_debated==1;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public DebateBar.Button getUserStand() {
            if (user_stand==1){
                return DebateBar.Button.RED;
            }else if (user_stand == 2){
                return DebateBar.Button.BLUE;
            }
            return DebateBar.Button.BLUE;
        }

        public String getAffirmpoint() {
            return affirmpoint;
        }

        public String getNegapoint() {
            return negapoint;
        }

        public int getAffirmdebaters() {
            return TextUtils.isEmpty(affirmdebaters)?0:Integer.valueOf(affirmdebaters);
        }

        public void setAffirmdebaters(String affirmdebaters) {
            this.affirmdebaters = affirmdebaters;
        }

        public int getNegadebaters() {
            return TextUtils.isEmpty(negadebaters)?0:Integer.valueOf(negadebaters);
        }

        public void setNegadebaters(String negadebaters) {
            this.negadebaters = negadebaters;
        }

        public void setIsDebated(int isDebated) {
            this.is_debated = isDebated;
        }

        public void setUserStand(Integer userStand) {
            this.user_stand = userStand;
        }

        public String getTag() {
            return tag;
        }

        public void setTag(String tag) {
            this.tag = tag;
        }

        public boolean isAd() {
            return is_ad==1;
        }

        public String getImgUrl() {
            return img_url;
        }

        public String getOuterUrl() {
            return outer_url;
        }

        public int getFid() {
            return fid;
        }

        public void setFid(int fid) {
            this.fid = fid;
        }

        public int getTid() {
            return tid;
        }

        public void setTid(int tid) {
            this.tid = tid;
        }

        public String getTitle() {
            return title.replaceAll("<em>|</em>","");
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getAuthorid() {
            return authorid;
        }

        public void setAuthorid(String authorid) {
            this.authorid = authorid;
        }

        public String getAuthor() {
            return author;
        }

        public void setAuthor(String author) {
            this.author = author;
        }

        public String getLastpost() {
            return lastpost;
        }

        public void setLastpost(String lastpost) {
            this.lastpost = lastpost;
        }

        public String getLastposter() {
            return lastposter;
        }

        public void setLastposter(String lastposter) {
            this.lastposter = lastposter;
        }

        public String getPost_date_format() {
            return post_date_format;
        }

        public void setPost_date_format(String post_date_format) {
            this.post_date_format = post_date_format;
        }

        public String getViews() {
            return views;
        }

        public void setViews(String views) {
            this.views = views;
        }

        public String getReplies() {
            return replies;
        }

        public void setReplies(String replies) {
            this.replies = replies;
        }

        public String getDisplayorder() {
            return displayorder;
        }

        public void setDisplayorder(String displayorder) {
            this.displayorder = displayorder;
        }

        public String getPost_date() {
            return post_date;
        }

        public void setPost_date(String post_date) {
            this.post_date = post_date;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getAttachment() {
            return attachment;
        }

        public void setAttachment(String attachment) {
            this.attachment = attachment;
        }

        public String getDigest() {
            return digest;
        }

        public void setDigest(String digest) {
            this.digest = digest;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public int getPid() {
            return pid;
        }

        public void setPid(int pid) {
            this.pid = pid;
        }

        public int getLike() {
            return like;
        }

        public void setLike(int like) {
            this.like = like;
        }

        public String getAttitude() {
            return attitude;
        }

        public void setAttitude(String attitude) {
            this.attitude = attitude;
        }

        public String getContent() {
            return content.replaceAll("<em>|</em>","");
        }

        public void setContent(String content) {
            this.content = content;
        }

        public AuthorInfoBean getAuthor_info() {
            return author_info;
        }

        public void setAuthor_info(AuthorInfoBean author_info) {
            this.author_info = author_info;
        }

        public CategoryBean getCategory() {
            return category;
        }

        public void setCategory(CategoryBean category) {
            this.category = category;
        }


        public ActivityBean getActivity() {
            return activity;
        }

        public void setActivity(ActivityBean activity) {
            this.activity = activity;
        }

        private ActivityBean activity;
        public static class ActivityBean {
            /**
             * tid : 159387
             * uid : 6032
             * aid : 287900
             * cost : 0
             * starttimefrom : 1524805200
             * starttimeto : 1524818400
             * place : 杭州上城区湖滨路28号凯悦酒店
             * class : 会议展览
             * gender : 0
             * number : 300
             * applynumber : 118
             * expiration :
             * ufield : a:2:{s:9:"userfield";a:4:{i:0;s:8:"realname";i:1;s:6:"mobile";i:2;s:7:"company";i:3;s:8:"position";}s:8:"extfield";a:0:{}}
             * credit : 0
             * guest :
             * extrafield : a:1:{s:9:"applytype";s:1:"1";}
             * thumb : http://8btc.com/data/attachment/forum/201804/20/143249cow4oue5400wjud6.png
             * attachurl : http://8btc.com/data/attachment/forum/201804/20/143249cow4oue5400wjud6.png
             * width : 2000
             */

            private int tid;
            private String uid;
            private String aid;
            private String cost;
            private String starttimefrom;
            private String starttimeto;
            private String place;
            @SerializedName("class")
            private String classX;
            private String gender;
            private String number;
            private String applynumber;
            private String expiration;
            private String ufield;
            private String credit;
            private String guest;
            private String extrafield;
            private String thumb;
            private String attachurl;
            private String width;

            public int getTid() {
                return tid;
            }

            public void setTid(int tid) {
                this.tid = tid;
            }

            public String getUid() {
                return uid;
            }

            public void setUid(String uid) {
                this.uid = uid;
            }

            public String getAid() {
                return aid;
            }

            public void setAid(String aid) {
                this.aid = aid;
            }

            public String getCost() {
                return cost;
            }

            public void setCost(String cost) {
                this.cost = cost;
            }

            public String getStarttimefrom() {
                return starttimefrom;
            }

            public void setStarttimefrom(String starttimefrom) {
                this.starttimefrom = starttimefrom;
            }

            public String getStarttimeto() {
                return starttimeto;
            }

            public void setStarttimeto(String starttimeto) {
                this.starttimeto = starttimeto;
            }

            public String getPlace() {
                return place;
            }

            public void setPlace(String place) {
                this.place = place;
            }

            public String getClassX() {
                return classX;
            }

            public void setClassX(String classX) {
                this.classX = classX;
            }

            public String getGender() {
                return gender;
            }

            public void setGender(String gender) {
                this.gender = gender;
            }

            public String getNumber() {
                return number;
            }

            public void setNumber(String number) {
                this.number = number;
            }

            public String getApplynumber() {
                return applynumber;
            }

            public void setApplynumber(String applynumber) {
                this.applynumber = applynumber;
            }

            public String getExpiration() {
                return expiration;
            }

            public void setExpiration(String expiration) {
                this.expiration = expiration;
            }

            public String getUfield() {
                return ufield;
            }

            public void setUfield(String ufield) {
                this.ufield = ufield;
            }

            public String getCredit() {
                return credit;
            }

            public void setCredit(String credit) {
                this.credit = credit;
            }

            public String getGuest() {
                return guest;
            }

            public void setGuest(String guest) {
                this.guest = guest;
            }

            public String getExtrafield() {
                return extrafield;
            }

            public void setExtrafield(String extrafield) {
                this.extrafield = extrafield;
            }

            public String getThumb() {
                return thumb;
            }

            public void setThumb(String thumb) {
                this.thumb = thumb;
            }

            public String getAttachurl() {
                return attachurl;
            }

            public void setAttachurl(String attachurl) {
                this.attachurl = attachurl;
            }

            public String getWidth() {
                return width;
            }

            public void setWidth(String width) {
                this.width = width;
            }
        }


        @Override
        public int getItemType() {
            if (is_ad==1){
                return ADVERTISING;
            }else if ("100".equals(type)){
                return ARGUE;
            }else if ("0".equals(displayorder)) {
                return Body;
            }
            return Head;
        }

        public static class AuthorInfoBean {
            /**
             * id : 365688
             * name : 马路边一分钱
             * desc :
             * avatar : https://bbtcdn.8btc.com/uc_server/data/avatar/000/36/56/88_avatar_middle.jpg
             * date : 6月
             * group_title : 船员
             */

            private String id;
            private String name;
            private String desc;
            private String avatar;
            private String date;
            @SerializedName(value = "group_title",alternate = "grouptitle")
            private String group_title;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getDesc() {
                return desc;
            }

            public void setDesc(String desc) {
                this.desc = desc;
            }

            public String getAvatar() {
                return TextUtils.isEmpty(avatar)?"empty":avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }

            public String getDate() {
                return date;
            }

            public void setDate(String date) {
                this.date = date;
            }

            public String getGroup_title() {
                return group_title;
            }

            public void setGroup_title(String group_title) {
                this.group_title = group_title;
            }
        }

        public static class CategoryBean {
            /**
             * name : 链吧主版
             * link : /forum-82-1.html
             * threads : 1880
             * posts : 14685
             * id : 82
             */

            private String name;
            private String link;
            private String threads;
            private String posts;
            private String id;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getLink() {
                return link;
            }

            public void setLink(String link) {
                this.link = link;
            }

            public String getThreads() {
                return threads;
            }

            public void setThreads(String threads) {
                this.threads = threads;
            }

            public String getPosts() {
                return posts;
            }

            public void setPosts(String posts) {
                this.posts = posts;
            }

            public String getId() {
                return TextUtils.isEmpty(id)?"0":id;
            }

            public void setId(String id) {
                this.id = id;
            }
        }
    }
}
